package com.example.lottery.service;

import jakarta.servlet.http.HttpServletResponse;

public interface IVerificationCodeService {
    /**
     * 发送并存储验证码
     * @param phoneNumber
     * @return
     */
    public void sendVerificationCode(HttpServletResponse response,String phoneNumber);

    /**
     * 获取验证码
     * @param phoneNumber
     * @return
     */
    public String getVerificationCode(String phoneNumber);
}
